package com.lingshu.app.model;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2024/1/8 15:04
 * @Description
 */
public class ReturnObject<T> {
    private boolean success;
    private T data;
    private int code;
    private String message;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
